package com.kaifamiao.demo.d0726;

import java.time.Period;

public class Demo04 {

    public static void main(String[] args) {
        Person xyy = new Person();
        xyy.name = "喜羊羊";

        Person lyy = new Person();
        lyy.name = "懒洋洋";

        Person fyy = new Person();
        fyy.name = "沸羊羊";

        Person myy = new Person();
        myy.name = "美羊羊";

        Person nyy = new Person();
        nyy.name = "暖洋洋";

        Person[] ps = {xyy, lyy, fyy, myy, nyy};

//        ps[1].show();

        ps[2].age = 3;
    }
}
